// Package config 站点配置信息
package config

import "gxcvu-ai/pkg/config"

func init() {
	config.Add("email", func() map[string]interface{} {
		return map[string]interface{}{

			"smtp": map[string]interface{}{
				"host":     config.Env("MAIL_HOST", "smtp.feishu.cn"),
				"port":     config.Env("MAIL_PORT", 587),
				"username": config.Env("MAIL_USERNAME", "service@gxcvucnc.cn"),
				"password": config.Env("MAIL_PASSWORD", "Z5YfLudjWGUAZDww"),
			},

			"from": map[string]interface{}{
				"address": config.Env("MAIL_FROM_ADDRESS", "service@gxcvucnc.cn"),
				"name":    config.Env("MAIL_FROM_NAME", "广西城市职业大学机械协会"),
			},
		}
	})
}
